/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Jcq.Model
{

    /// <summary>
    ///  topic
    /// </summary>
    public class Topic
    {

        ///<summary>
        /// topic Id
        ///</summary>
        public string TopicId{ get; set; }
        ///<summary>
        /// topic名称
        ///</summary>
        public string TopicName{ get; set; }
        ///<summary>
        /// 描述
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// 创建时间
        ///</summary>
        public DateTime? CreateTime{ get; set; }
        ///<summary>
        /// 更新时间
        ///</summary>
        public DateTime? LastUpdateTime{ get; set; }
        ///<summary>
        /// topicStatus
        ///</summary>
        public string TopicStatus{ get; set; }
        ///<summary>
        /// 自己创建的订阅数
        ///</summary>
        public int? SubscriptionCount{ get; set; }
        ///<summary>
        /// 消息生命周期时长小时
        ///</summary>
        public int? MessageLifeTimeInHours{ get; set; }
        ///<summary>
        /// 配置信息
        ///</summary>
        public TopicConfig TopicConfig{ get; set; }
        ///<summary>
        /// 是否是自己的topic
        ///</summary>
        public bool Own{ get; set; }
        ///<summary>
        /// 被授权的权限[PUB,SUB,PUBSUB,READ_ONLY,ADMIN]
        ///</summary>
        public string AuthorizedPermission{ get; set; }
        ///<summary>
        /// 标签信息
        ///</summary>
        public List<Tag> Tags{ get; set; }
    }
}
